]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
build: Fix rule to create .service files
authorVincent Untz <vuntz@gnome.org>
Thu, 15 Sep 2011 11:43:01 +0000 (13:43 +0200)
committerVincent Untz <vuntz@gnome.org>
Fri, 16 Sep 2011 07:21:14 +0000 (09:21 +0200)
It was always taking the first .service.in file to create all .service
files: org.gnome.Shell.CalendarServer.service.in was the only one being
used.

https://bugzilla.gnome.org/show_bug.cgi?id=659194

src/Makefile.am

index 11449eac574bfa47203e41d35428f271ca43c5ea..d19f0fe90e43e7fd558c6cea1bd8273e347fe1c9 100644 (file)
@@ -19,7 +19,7 @@ typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
 servicedir = $(datadir)/dbus-1/services
 service_DATA = $(service_in_files:.service.in=.service)
 
-$(service_DATA): $(service_in_files) Makefile
+%.service: %.service.in Makefile
        $(AM_V_GEN)                                                                     \
                [ -d $(@D) ] || $(mkdir_p) $(@D) ;                                      \
                sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@.tmp && mv $@.tmp $@